package com.ztgf.shopping.models.bo.shop;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ztgf.common.bo.BaseBO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 店铺平台开票BO
 *
 * @author liyang
 * @Date 2021-05-26 12:08:14
 */
@Data
public class ShopSysInvoiceBO extends BaseBO implements Serializable {
    @ApiModelProperty(value = "开票状态 0已开票，1未开票，2开票中")
    private Integer status;
    @ApiModelProperty(value = "开始时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startDate;
    @ApiModelProperty(value = "结束时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endDate;
    @ApiModelProperty(value = "类型 0物流费，1技术服务费(包含佣金和平台砍价)")
    private Integer type;
    @ApiModelProperty(value = "查询类型 0按明细查询，1按月份查询")
    private Integer moldType;
    @ApiModelProperty(value = "店铺id")
    private Long shopId;
    @ApiModelProperty(value = "状态：0买家，1卖家")
    private Integer sellOrBuyType;
}
